package com.zhixiang.xaec.entity.safecheck.illegalmanage;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;

@Entity
@Table(name = "illegalmanage_BreakRule")
@Comment("违章管理")
public class Illegal extends BaseEntity{

	@Comment("检查名称")
	@Column(length=200)
	private String checkName;
	@Comment("违章名称")
	@Column(length=200)
	private String illegalName;
	@Comment("违章类别")
	@Column(length=200)
	private String illegaCategory;
	@Comment("违章地点")
	@Column(length=200)
	private String illegalPlace;
	@Comment("违章时间")
	@Column(length=200)
	private Date illegaDate;
	@Comment("违章负责人")
	@Column(length=200)
	private String principal;
	@Comment("负责人联系电话")
	@Column(length=200)
	private String telephone;
	@Comment("检查负责人")
	@Column(length=200)
	private String checkPrincipal;
	@Comment("检查时间")
	@Column(length=200)
	private Date checkDate;
	@Comment("通告批评")
	@Column(length=1000)
	private String criticism;
	@Comment("通告")
	@Column(length=200)
	private String annunciate;

	public String getCheckName() {
		return checkName;
	}

	public void setCheckName(String checkName) {
		this.checkName = checkName;
	}

	public String getIllegalName() {
		return illegalName;
	}

	public void setIllegalName(String illegalName) {
		this.illegalName = illegalName;
	}

	public String getIllegaCategory() {
		return illegaCategory;
	}

	public void setIllegaCategory(String illegaCategory) {
		this.illegaCategory = illegaCategory;
	}

	@JSON(format="YYYY-MM-dd")
	public Date getIllegaDate() {
		return illegaDate;
	}

	public void setIllegaDate(Date illegaDate) {
		this.illegaDate = illegaDate;
	}

	public String getPrincipal() {
		return principal;
	}

	public void setPrincipal(String principal) {
		this.principal = principal;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getCheckPrincipal() {
		return checkPrincipal;
	}

	public void setCheckPrincipal(String checkPrincipal) {
		this.checkPrincipal = checkPrincipal;
	}
	@JSON(format="YYYY-MM-dd")
	public Date getCheckDate() {
		return checkDate;
	}

	public void setCheckDate(Date checkDate) {
		this.checkDate = checkDate;
	}

	public String getCriticism() {
		return criticism;
	}

	public void setCriticism(String criticism) {
		this.criticism = criticism;
	}

	public String getAnnunciate() {
		return annunciate;
	}

	public void setAnnunciate(String annunciate) {
		this.annunciate = annunciate;
	}

	public String getIllegalPlace() {
		return illegalPlace;
	}

	public void setIllegalPlace(String illegalPlace) {
		this.illegalPlace = illegalPlace;
	}
	
	
	
	
}
